\hypertarget{sonar_8c}{
\section{atmega1281/low/sonar/sonar.c File Reference}
\label{sonar_8c}\index{atmega1281/low/sonar/sonar.c@{atmega1281/low/sonar/sonar.c}}
}
{\ttfamily \#include $<$avr/io.h$>$}\par
{\ttfamily \#include $<$avr/interrupt.h$>$}\par
{\ttfamily \#include \char`\"{}sonar.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}uart.h\char`\"{}}\par
\subsection*{Defines}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{sonar_8c_acdf18a4ed237ee7c0746c7dcd4ca947d}{BAUD\_\-SONAR}~9600
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{sonar_8c_a914119ad5ddf40a745060999ed471dea}{sonar\_\-init} ()
\item 
unsigned int \hyperlink{sonar_8c_abe873ea169751e3d5a503b895579a0a0}{sonar\_\-write} (unsigned char sonarNum)
\item 
unsigned int \hyperlink{sonar_8c_ad66ca803f7236b7d773d4073b295ffb6}{sonar\_\-read} ()
\end{DoxyCompactItemize}


\subsection{Define Documentation}
\hypertarget{sonar_8c_acdf18a4ed237ee7c0746c7dcd4ca947d}{
\index{sonar.c@{sonar.c}!BAUD\_\-SONAR@{BAUD\_\-SONAR}}
\index{BAUD\_\-SONAR@{BAUD\_\-SONAR}!sonar.c@{sonar.c}}
\subsubsection[{BAUD\_\-SONAR}]{\setlength{\rightskip}{0pt plus 5cm}\#define BAUD\_\-SONAR~9600}}
\label{sonar_8c_acdf18a4ed237ee7c0746c7dcd4ca947d}


\subsection{Function Documentation}
\hypertarget{sonar_8c_a914119ad5ddf40a745060999ed471dea}{
\index{sonar.c@{sonar.c}!sonar\_\-init@{sonar\_\-init}}
\index{sonar\_\-init@{sonar\_\-init}!sonar.c@{sonar.c}}
\subsubsection[{sonar\_\-init}]{\setlength{\rightskip}{0pt plus 5cm}void sonar\_\-init (void)}}
\label{sonar_8c_a914119ad5ddf40a745060999ed471dea}
\hypertarget{sonar_8c_ad66ca803f7236b7d773d4073b295ffb6}{
\index{sonar.c@{sonar.c}!sonar\_\-read@{sonar\_\-read}}
\index{sonar\_\-read@{sonar\_\-read}!sonar.c@{sonar.c}}
\subsubsection[{sonar\_\-read}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int sonar\_\-read (void)}}
\label{sonar_8c_ad66ca803f7236b7d773d4073b295ffb6}
\hypertarget{sonar_8c_abe873ea169751e3d5a503b895579a0a0}{
\index{sonar.c@{sonar.c}!sonar\_\-write@{sonar\_\-write}}
\index{sonar\_\-write@{sonar\_\-write}!sonar.c@{sonar.c}}
\subsubsection[{sonar\_\-write}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int sonar\_\-write (unsigned char {\em sonarNum})}}
\label{sonar_8c_abe873ea169751e3d5a503b895579a0a0}
